CC=arm-none-linux-gnueabi-gcc

all : light_function
	mv light_function ../main_function
	
light_function:light_function.o led_dev.o photoSensor_function.o 
	$(CC) light_function.o led_dev.o photoSensor_function.o -o light_function 
light_function.o:light_function.c
	$(CC) -g -c light_function.c -o light_function.o -I ../include/

clean:
	rm *.o
